package com.ruoyi.gwc.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 调度车辆对象 t_dispatch_vehicles
 * 
 * @author wp
 * @date 2024-12-13
 */
public class TDispatchVehicles extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 调度单id */
    private Long dispatchId;

    /** 申请单id */
    private Long applyId;

    /** 所属作业公司 */
    private Long companyId;
    @Excel(name = "公司名称",sort = 1)
    private String companyName;

    /** 驾驶员id */
    private Long driverId;
    @Excel(name = "驾驶员姓名" ,sort = 2)
    private String driverName;

    /** 联系电话 */
    @Excel(name = "联系电话", sort = 3)
    private String contactNumber;

    /** 车辆id */
    private Long vehicleId;
    @Excel(name = "车牌号" ,sort = 4)
    private String numberPlate;

    /** 订单状态（2已调度，3已接单，4已出车，5已还车） */
    @Excel(name = "订单状态", readConverterExp = "2=已调度，3已接单，4已出车，5已还车",sort = 5, dictType = "applicationOrderStatus")
    private Long dispatchOrderStatus;

    /** 备注说明 */
    @Excel(name = "备注说明" ,sort = 6)
    private String remarks;

    public void setDispatchId(Long dispatchId) 
    {
        this.dispatchId = dispatchId;
    }

    public Long getDispatchId() 
    {
        return dispatchId;
    }
    public void setApplyId(Long applyId) 
    {
        this.applyId = applyId;
    }

    public Long getApplyId() 
    {
        return applyId;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }

    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }
    public String getCompanyName()
    {
        return companyName;
    }

    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }

    public void setDriverName(String driverName)
    {
        this.driverName = driverName;
    }
    public String getDriverName()
    {
        return driverName;
    }

    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }

    public void setNumberPlate(String numberPlate)
    {
        this.numberPlate = numberPlate;
    }
    public String getNumberPlate()
    {
        return numberPlate;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }
    public String getRemarks() 
    {
        return remarks;
    }

    public void setContactNumber(String contactNumber)
    {
        this.contactNumber = contactNumber;
    }
    public String getContactNumber()
    {
        return contactNumber;
    }

    public void setDispatchOrderStatus(Long dispatchOrderStatus) 
    {
        this.dispatchOrderStatus = dispatchOrderStatus;
    }

    public Long getDispatchOrderStatus() 
    {
        return dispatchOrderStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dispatchId", getDispatchId())
            .append("applyId", getApplyId())
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("driverId", getDriverId())
            .append("vehicleId", getVehicleId())
            .append("dispatchOrderStatus", getDispatchOrderStatus())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
